@model Admin.NET.Application.Service.System.LowCode.Dto.Front_CodeGenerate
using Admin.NET.Core;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace @Model.NameSpace
{
    public interface I@(@Model.ClassName)Service
    {
        Task Add(Add@(@Model.ClassName)Input input);
        Task Delete(Delete@(@Model.ClassName)Input input);
        Task<@(@Model.ClassName)Output> Get([FromQuery] Querye@(@Model.ClassName)Input input);
        Task<List<@(@Model.ClassName)Output>> List([FromQuery] @(@Model.ClassName)Input input);
        Task<PageResult<@(@Model.ClassName)Output>> Page([FromQuery] @(@Model.ClassName)Search input);
        Task Update(Update@(@Model.ClassName)Input input);
@foreach (var column in Model.TableField){
if(@column.EffectType == "fk" && @column.FkEntityName != "" && @column.FkColumnName != ""){
        @:Task<dynamic> Fk@(@column.FkEntityName)List();
}
}
    }
}